package com.ruoyi.system.task;


import com.ruoyi.system.service.IHospitalSubscribeOrderService;
import com.ruoyi.system.service.IHospitalSubscribeScheduleDaysService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Slf4j
@Component("closeOrder")
public class CloseOrder {

    @Autowired
    private IHospitalSubscribeOrderService iHospitalSubscribeOrderService;

    /**
     * 关闭超时订单
     */
    public void closeOrderList() {
        log.info("关闭超时订单执行了.................................");
        iHospitalSubscribeOrderService.closeOrderList();
    }
}
